package com.wskeee.ec.interfaces
{
	import flash.events.IEventDispatcher;
	
	import com.wskeee.ec.components.list.BaseListData;

	public interface IListCellRenderer extends ICellRenderer,IEventDispatcher
	{
		/**
		 * 选择 
		 * @param bo
		 * 
		 */
		function set selected(bo:Boolean):void;
		function get selected():Boolean;
		
		/**
		 * 引用 List 
		 * @return 
		 * 
		 */
		function get list():IList;
		function set list(value:IList):void;
		
		/**
		 * renderer在List里的其它数据，如Tree 里的dethp,isOpen,hasChildre等，方便renderer可视化处理
		 * @param value
		 * 
		 */
		function set listData(value:BaseListData):void;
		function get listData():BaseListData;
	}
}